#ifndef ARRAY_H
#define ARRAY_H

class Array {
private:
    int * arr;
    int capacity;
    int size;
    void ensureSize();
public:
    explicit Array(size_t);
    Array(const Array &);
    void swap(Array &);
    Array & operator =(const Array &);	
    void push_back(int i);
    int get(size_t) const;
    void set(size_t, int);
    size_t getSize() const;
    ~Array();
};

#endif //ARRAY_H
